package com.jwds.digital.bios.business.core.infrastructure.entity.belt;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jwds.tdc.framework.database.lib.BaseEntity;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 电参数数据结构(数采秒级数据)
 *
 * @author 林柏云
 * @date 2024-10-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("belt_electric_parameters")
public class BeltElectricParameters extends BaseEntity<Long> {


    /**
    * 皮带名称
    */
    @TableField("belt_name")
    private String beltName;


    /**
    * 皮带带速
    */
    @TableField("belt_speed")
    private BigDecimal beltSpeed;


    /**
    * 自动信号
    */
    @TableField("auto_signal")
    private Integer autoSignal;


    /**
    * 运行信号
    */
    @TableField("run_signal")
    private Integer runSignal;


    /**
    * 故障信号
    */
    @TableField("fault_signal")
    private Integer faultSignal;


    /**
    * 料流信号
    */
    @TableField("flow_signal")
    private Integer flowSignal;


    /**
    * 电机电流
    */
    @TableField("motor_current")
    private BigDecimal motorCurrent;


    /**
    * 电机电压
    */
    @TableField("motor_voltage")
    private BigDecimal motorVoltage;


    /**
    * 相位角
    */
    @TableField("phase_angle")
    private BigDecimal phaseAngle;


    /**
    * 负载信号
    */
    @TableField("load_signal")
    private Integer loadSignal;


    /**
    * 电机转速
    */
    @TableField("motor_speed")
    private BigDecimal motorSpeed;


    /**
    * 皮带秤瞬时值
    */
    @TableField("instant_belt_scale")
    private BigDecimal instantBeltScale;


    /**
    * 皮带秤累计值
    */
    @TableField("total_belt_scale")
    private BigDecimal totalBeltScale;


    /**
    * 电机温度
    */
    @TableField("motor_temperature")
    private BigDecimal motorTemperature;


    /**
    * 电机振动信号
    */
    @TableField("motor_vibration_signal")
    private Integer motorVibrationSignal;


    /**
    * 电表耗电量
    */
    @TableField("meter_power_consumption")
    private BigDecimal meterPowerConsumption;


    /**
    * 发送时间
    */
    @TableField("send_time")
    private LocalDateTime sendTime;



}